<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" th:replace="layouts/master(title = '添加')">
<!-- layout文件路径-->



<th:block th:fragment="css">
    <style>
        body{
            padding: 20px;
        }
    </style>
</th:block>
<!--Page content-->
<!--===================================================-->
<div th:fragment="content">
    <form class="layui-form" id="frmIch" role="form">
        <div class="layui-form-item">
            <label class="layui-form-label">非遗名称</label>
            <div class="layui-input-block">
                <input type="text" name="name" required lay-verify="required" placeholder="请输入非遗名称" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">所在类别</label>
            <div class="layui-input-inline">
                <select name="category" lay-verify="required" lay-search="">
                    <option value="">直接选择或搜索选择</option>
                    <option value="技艺类">技艺类</option>
                    <option value="美术类">美术类</option>
                    <option value="体育、竞技与游艺类">体育、竞技与游艺类</option>
                    <option value="舞蹈类">舞蹈类</option>
                    <option value="戏剧类">戏剧类</option>
                    <option value="医药类">医药类</option>
                    <option value="音乐类">音乐类</option>
                    <option value="文学类">文学类</option>
                    <option value="民俗类">民俗类</option>
                    <option value="曲艺类">曲艺类</option>
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">所属民族</label>
            <div class="layui-input-block">
                <input type="text" name="nation" required lay-verify="required" placeholder="请输入所属民族" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">所属地区</label>
            <div class="layui-input-block">
                <input type="text" name="location" required lay-verify="required" placeholder="请输入所属地区" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">当前传承人</label>
            <div class="layui-input-block">
                <input type="text" name="inheritors" required lay-verify="required" placeholder="注意要用顿号隔开" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">非遗级别</label>
            <div class="layui-input-block">
                <input type="radio" name="level" value="国家级" title="国家级" checked >
                <input type="radio" name="level" value="市级" title="市级">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">涉及器具</label>
            <div class="layui-input-block">
                <input type="text" name="appliances" required lay-verify="required" placeholder="注意要用顿号隔开" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">具体描述</label>
            <div class="layui-input-block">
                <textarea name="description" placeholder="请输入内容" class="layui-textarea"></textarea>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn" lay-submit lay-filter="formGo">立即提交</button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </div>
    </form>
</div>
<!--===================================================-->
<!--End page content-->

<th:block th:fragment="scripts">
    <script src="/plugins/ext/soulTable.js"></script>
    <script src="/pagejs/add.js"></script>
</th:block>

</html>